package com.stam.dal;

import com.stam.dal.dataobject.StockUser;

public interface StockUserMapper extends BaseMapper<StockUser>{
    int deleteByPrimaryKey(String id);

    int insertSelective(StockUser record);

    StockUser selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(StockUser record);

    int updateByPrimaryKey(StockUser record);
    
    /**
     * 根据userId查找用户
     *
     * @author yangjuanying
     * @date 2014年5月15日 上午9:27:33
     *
     * @param userId
     * @return
     */
    StockUser getUserByUserId(String userId);
}